﻿<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
  
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Class DictionaryExtensions
   | CodeJam </title>
    <meta name="viewport" content="width=device-width">
    <meta name="title" content="Class DictionaryExtensions
   | CodeJam ">
    <meta name="generator" content="docfx 2.23.1.0">
    
    <link rel="shortcut icon" href="../../favicon.ico">
    <link rel="stylesheet" href="../../styles/docfx.vendor.css">
    <link rel="stylesheet" href="../../styles/docfx.css">
    <link rel="stylesheet" href="../../styles/main.css">
    <meta property="docfx:navrel" content="../../toc.html">
    <meta property="docfx:tocrel" content="toc.html">
    <meta property="docfx:rel" content="../../">
    
  </head>
  <body data-spy="scroll" data-target="#affix">
    <div id="wrapper">
      <header>
        
        <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
          <div class="container">
            <div class="navbar-header">
              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>
              
              <a class="navbar-brand" href="../../index.html">
                <img id="logo" class="svg" src="../../images/CodeJam.Main.Icon.png" alt="">
              </a>
            </div>
            <div class="collapse navbar-collapse" id="navbar">
              <form class="navbar-form navbar-right" role="search" id="search">
                <div class="form-group">
                  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
                </div>
              </form>
            </div>
          </div>
        </nav>
        
        <div class="subnav navbar navbar-default">
          <div class="container hide-when-search" id="breadcrumb">
            <ul class="breadcrumb">
              <li></li>
            </ul>
          </div>
        </div>
      </header>
      <div class="container body-content">
        
        <div id="search-results">
          <div class="search-list"></div>
          <div class="sr-items"></div>
          <ul id="pagination"></ul>
        </div>
      </div>
      <div role="main" class="container body-content hide-when-search">
        
        <div class="sidenav hide-when-search">
          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
          <div class="sidetoggle collapse" id="sidetoggle">
            <div id="sidetoc"></div>
          </div>
        </div>
        <div class="article row grid-right">
          <div class="col-md-10">
            <article class="content wrap" id="_content" data-uid="CodeJam.Collections.DictionaryExtensions">
  
  
  <h1 id="CodeJam_Collections_DictionaryExtensions" data-uid="CodeJam.Collections.DictionaryExtensions" class="text-break">Class DictionaryExtensions
  </h1>
  <div class="markdown level0 summary"><p>Extensions for <span class="xref">System.Collections.Generic.IDictionary&lt;TKey, TValue&gt;</span></p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><span class="xref">System.Object</span></div>
    <div class="level1"><span class="xref">DictionaryExtensions</span></div>
  </div>
  <div class="inheritedMembers">
    <h5>Inherited Members</h5>
    <div>
      <span class="xref">System.Object.ToString()</span>
    </div>
    <div>
      <span class="xref">System.Object.Equals(System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.GetHashCode()</span>
    </div>
    <div>
      <span class="xref">System.Object.GetType()</span>
    </div>
    <div>
      <span class="xref">System.Object.MemberwiseClone()</span>
    </div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="CodeJam.Collections.html">CodeJam.Collections</a></h6>
  <h6><strong>Assembly</strong>: CodeJam.dll</h6>
  <h5 id="CodeJam_Collections_DictionaryExtensions_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static class DictionaryExtensions</code></pre>
  </div>
  <h3 id="methods">Methods
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_DictionaryExtensions_AddOrUpdate__2_System_Collections_Concurrent_ConcurrentDictionary___0___1____0_System_Func___0___1__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.DictionaryExtensions.AddOrUpdate%60%602(System.Collections.Concurrent.ConcurrentDictionary%7B%60%600%2C%60%601%7D%2C%60%600%2CSystem.Func%7B%60%600%2C%60%601%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Dictionary/DictionaryExtensions.cs/#L196">View Source</a>
  </span>
  <a id="CodeJam_Collections_DictionaryExtensions_AddOrUpdate_" data-uid="CodeJam.Collections.DictionaryExtensions.AddOrUpdate*"></a>
  <h4 id="CodeJam_Collections_DictionaryExtensions_AddOrUpdate__2_System_Collections_Concurrent_ConcurrentDictionary___0___1____0_System_Func___0___1__" data-uid="CodeJam.Collections.DictionaryExtensions.AddOrUpdate``2(System.Collections.Concurrent.ConcurrentDictionary{``0,``1},``0,System.Func{``0,``1})">AddOrUpdate&lt;TKey, TValue&gt;(ConcurrentDictionary&lt;TKey, TValue&gt;, TKey, Func&lt;TKey, TValue&gt;)</h4>
  <div class="markdown level1 summary"><p>Adds a key/value pair to the <span class="xref">System.Collections.Concurrent.ConcurrentDictionary&lt;TKey, TValue&gt;</span> if the key does not already exist,
or updates a key/value pair <span class="xref">System.Collections.Concurrent.ConcurrentDictionary&lt;TKey, TValue&gt;</span> by using the specified function
if the key already exists.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TValue AddOrUpdate&lt;TKey, TValue&gt;(this ConcurrentDictionary&lt;TKey, TValue&gt; dictionary, TKey key, Func&lt;TKey, TValue&gt; valueFactory)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Concurrent.ConcurrentDictionary</span>&lt;TKey, TValue&gt;</td>
        <td><span class="parametername">dictionary</span></td>
        <td><p>The dictionary.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TKey</span></td>
        <td><span class="parametername">key</span></td>
        <td><p>The key to be added or whose value should be updated</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TKey, TValue&gt;</td>
        <td><span class="parametername">valueFactory</span></td>
        <td><p>The function used to generate a value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TValue</span></td>
        <td><p>The new value for the key.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TValue</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_DictionaryExtensions_AddOrUpdate__2_System_Collections_Generic_IDictionary___0___1____0___1_System_Func___0___1___1__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.DictionaryExtensions.AddOrUpdate%60%602(System.Collections.Generic.IDictionary%7B%60%600%2C%60%601%7D%2C%60%600%2C%60%601%2CSystem.Func%7B%60%600%2C%60%601%2C%60%601%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Dictionary/DictionaryExtensions.cs/#L104">View Source</a>
  </span>
  <a id="CodeJam_Collections_DictionaryExtensions_AddOrUpdate_" data-uid="CodeJam.Collections.DictionaryExtensions.AddOrUpdate*"></a>
  <h4 id="CodeJam_Collections_DictionaryExtensions_AddOrUpdate__2_System_Collections_Generic_IDictionary___0___1____0___1_System_Func___0___1___1__" data-uid="CodeJam.Collections.DictionaryExtensions.AddOrUpdate``2(System.Collections.Generic.IDictionary{``0,``1},``0,``1,System.Func{``0,``1,``1})">AddOrUpdate&lt;TKey, TValue&gt;(IDictionary&lt;TKey, TValue&gt;, TKey, TValue, Func&lt;TKey, TValue, TValue&gt;)</h4>
  <div class="markdown level1 summary"><p>Adds a key/value pair to the <span class="xref">System.Collections.Generic.IDictionary&lt;TKey, TValue&gt;</span> if the key does not already exist,
or updates a key/value pair <span class="xref">System.Collections.Generic.IDictionary&lt;TKey, TValue&gt;</span> by using the specified function
if the key already exists.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TValue AddOrUpdate&lt;TKey, TValue&gt;(this IDictionary&lt;TKey, TValue&gt; dictionary, TKey key, TValue addValue, Func&lt;TKey, TValue, TValue&gt; updateValueFactory)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IDictionary</span>&lt;TKey, TValue&gt;</td>
        <td><span class="parametername">dictionary</span></td>
        <td><p>The dictionary.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TKey</span></td>
        <td><span class="parametername">key</span></td>
        <td><p>The key to be added or whose value should be updated</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TValue</span></td>
        <td><span class="parametername">addValue</span></td>
        <td><p>The value to be added for an absent key</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TKey, TValue, TValue&gt;</td>
        <td><span class="parametername">updateValueFactory</span></td>
        <td><p>The function used to generate a new value for an existing key based on the key&apos;s existing value</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TValue</span></td>
        <td><p>The new value for the key. This will be either be addValue (if the key was absent) or the result of
updateValueFactory (if the key was present).</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TValue</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_DictionaryExtensions_AddOrUpdate__2_System_Collections_Generic_IDictionary___0___1____0_System_Func___0___1__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.DictionaryExtensions.AddOrUpdate%60%602(System.Collections.Generic.IDictionary%7B%60%600%2C%60%601%7D%2C%60%600%2CSystem.Func%7B%60%600%2C%60%601%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Dictionary/DictionaryExtensions.cs/#L168">View Source</a>
  </span>
  <a id="CodeJam_Collections_DictionaryExtensions_AddOrUpdate_" data-uid="CodeJam.Collections.DictionaryExtensions.AddOrUpdate*"></a>
  <h4 id="CodeJam_Collections_DictionaryExtensions_AddOrUpdate__2_System_Collections_Generic_IDictionary___0___1____0_System_Func___0___1__" data-uid="CodeJam.Collections.DictionaryExtensions.AddOrUpdate``2(System.Collections.Generic.IDictionary{``0,``1},``0,System.Func{``0,``1})">AddOrUpdate&lt;TKey, TValue&gt;(IDictionary&lt;TKey, TValue&gt;, TKey, Func&lt;TKey, TValue&gt;)</h4>
  <div class="markdown level1 summary"><p>Adds a key/value pair to the <span class="xref">System.Collections.Generic.IDictionary&lt;TKey, TValue&gt;</span> if the key does not already exist,
or updates a key/value pair <span class="xref">System.Collections.Generic.IDictionary&lt;TKey, TValue&gt;</span> by using the specified function
if the key already exists.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TValue AddOrUpdate&lt;TKey, TValue&gt;(this IDictionary&lt;TKey, TValue&gt; dictionary, TKey key, Func&lt;TKey, TValue&gt; valueFactory)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IDictionary</span>&lt;TKey, TValue&gt;</td>
        <td><span class="parametername">dictionary</span></td>
        <td><p>The dictionary.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TKey</span></td>
        <td><span class="parametername">key</span></td>
        <td><p>The key to be added or whose value should be updated</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TKey, TValue&gt;</td>
        <td><span class="parametername">valueFactory</span></td>
        <td><p>The function used to generate a value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TValue</span></td>
        <td><p>The new value for the key.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TValue</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_DictionaryExtensions_AddOrUpdate__2_System_Collections_Generic_IDictionary___0___1____0_System_Func___0___1__System_Func___0___1___1__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.DictionaryExtensions.AddOrUpdate%60%602(System.Collections.Generic.IDictionary%7B%60%600%2C%60%601%7D%2C%60%600%2CSystem.Func%7B%60%600%2C%60%601%7D%2CSystem.Func%7B%60%600%2C%60%601%2C%60%601%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Dictionary/DictionaryExtensions.cs/#L138">View Source</a>
  </span>
  <a id="CodeJam_Collections_DictionaryExtensions_AddOrUpdate_" data-uid="CodeJam.Collections.DictionaryExtensions.AddOrUpdate*"></a>
  <h4 id="CodeJam_Collections_DictionaryExtensions_AddOrUpdate__2_System_Collections_Generic_IDictionary___0___1____0_System_Func___0___1__System_Func___0___1___1__" data-uid="CodeJam.Collections.DictionaryExtensions.AddOrUpdate``2(System.Collections.Generic.IDictionary{``0,``1},``0,System.Func{``0,``1},System.Func{``0,``1,``1})">AddOrUpdate&lt;TKey, TValue&gt;(IDictionary&lt;TKey, TValue&gt;, TKey, Func&lt;TKey, TValue&gt;, Func&lt;TKey, TValue, TValue&gt;)</h4>
  <div class="markdown level1 summary"><p>Adds a key/value pair to the <span class="xref">System.Collections.Generic.IDictionary&lt;TKey, TValue&gt;</span> if the key does not already exist,
or updates a key/value pair <span class="xref">System.Collections.Generic.IDictionary&lt;TKey, TValue&gt;</span> by using the specified function
if the key already exists.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TValue AddOrUpdate&lt;TKey, TValue&gt;(this IDictionary&lt;TKey, TValue&gt; dictionary, TKey key, Func&lt;TKey, TValue&gt; addValueFactory, Func&lt;TKey, TValue, TValue&gt; updateValueFactory)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IDictionary</span>&lt;TKey, TValue&gt;</td>
        <td><span class="parametername">dictionary</span></td>
        <td><p>The dictionary.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TKey</span></td>
        <td><span class="parametername">key</span></td>
        <td><p>The key to be added or whose value should be updated</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TKey, TValue&gt;</td>
        <td><span class="parametername">addValueFactory</span></td>
        <td><p>The function used to generate a value for an absent key</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TKey, TValue, TValue&gt;</td>
        <td><span class="parametername">updateValueFactory</span></td>
        <td><p>The function used to generate a new value for an existing key based on the key&apos;s existing value</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TValue</span></td>
        <td><p>The new value for the key. This will be either be addValue (if the key was absent) or the result of
updateValueFactory (if the key was present).</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TValue</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_DictionaryExtensions_GetOrAdd__2_System_Collections_Generic_IDictionary___0___1____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.DictionaryExtensions.GetOrAdd%60%602(System.Collections.Generic.IDictionary%7B%60%600%2C%60%601%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Dictionary/DictionaryExtensions.cs/#L25">View Source</a>
  </span>
  <a id="CodeJam_Collections_DictionaryExtensions_GetOrAdd_" data-uid="CodeJam.Collections.DictionaryExtensions.GetOrAdd*"></a>
  <h4 id="CodeJam_Collections_DictionaryExtensions_GetOrAdd__2_System_Collections_Generic_IDictionary___0___1____0_" data-uid="CodeJam.Collections.DictionaryExtensions.GetOrAdd``2(System.Collections.Generic.IDictionary{``0,``1},``0)">GetOrAdd&lt;TKey, TValue&gt;(IDictionary&lt;TKey, TValue&gt;, TKey)</h4>
  <div class="markdown level1 summary"><p>Adds a key/value pair to the <span class="xref">System.Collections.Generic.IDictionary&lt;TKey, TValue&gt;</span> if the key does not already exist.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TValue GetOrAdd&lt;TKey, TValue&gt;(this IDictionary&lt;TKey, TValue&gt; dictionary, TKey key)where TValue : new ()</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IDictionary</span>&lt;TKey, TValue&gt;</td>
        <td><span class="parametername">dictionary</span></td>
        <td><p>The dictionary.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TKey</span></td>
        <td><span class="parametername">key</span></td>
        <td><p>The key of the element to add.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TValue</span></td>
        <td><p>The value for the key. This will be either the existing value for the key if the key is already in the
dictionary, or the new value if the key was not in the dictionary.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TValue</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_DictionaryExtensions_GetOrAdd__2_System_Collections_Generic_IDictionary___0___1____0___1_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.DictionaryExtensions.GetOrAdd%60%602(System.Collections.Generic.IDictionary%7B%60%600%2C%60%601%7D%2C%60%600%2C%60%601)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Dictionary/DictionaryExtensions.cs/#L48">View Source</a>
  </span>
  <a id="CodeJam_Collections_DictionaryExtensions_GetOrAdd_" data-uid="CodeJam.Collections.DictionaryExtensions.GetOrAdd*"></a>
  <h4 id="CodeJam_Collections_DictionaryExtensions_GetOrAdd__2_System_Collections_Generic_IDictionary___0___1____0___1_" data-uid="CodeJam.Collections.DictionaryExtensions.GetOrAdd``2(System.Collections.Generic.IDictionary{``0,``1},``0,``1)">GetOrAdd&lt;TKey, TValue&gt;(IDictionary&lt;TKey, TValue&gt;, TKey, TValue)</h4>
  <div class="markdown level1 summary"><p>Adds a key/value pair to the <span class="xref">System.Collections.Generic.IDictionary&lt;TKey, TValue&gt;</span> if the key does not already exist.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TValue GetOrAdd&lt;TKey, TValue&gt;(this IDictionary&lt;TKey, TValue&gt; dictionary, TKey key, TValue value)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IDictionary</span>&lt;TKey, TValue&gt;</td>
        <td><span class="parametername">dictionary</span></td>
        <td><p>The dictionary.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TKey</span></td>
        <td><span class="parametername">key</span></td>
        <td><p>The key of the element to add.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TValue</span></td>
        <td><span class="parametername">value</span></td>
        <td><p>the value to be added, if the key does not already exist</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TValue</span></td>
        <td><p>The value for the key. This will be either the existing value for the key if the key is already in the
dictionary, or the new value if the key was not in the dictionary.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TValue</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_DictionaryExtensions_GetOrAdd__2_System_Collections_Generic_IDictionary___0___1____0_System_Func___0___1__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.DictionaryExtensions.GetOrAdd%60%602(System.Collections.Generic.IDictionary%7B%60%600%2C%60%601%7D%2C%60%600%2CSystem.Func%7B%60%600%2C%60%601%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Dictionary/DictionaryExtensions.cs/#L73">View Source</a>
  </span>
  <a id="CodeJam_Collections_DictionaryExtensions_GetOrAdd_" data-uid="CodeJam.Collections.DictionaryExtensions.GetOrAdd*"></a>
  <h4 id="CodeJam_Collections_DictionaryExtensions_GetOrAdd__2_System_Collections_Generic_IDictionary___0___1____0_System_Func___0___1__" data-uid="CodeJam.Collections.DictionaryExtensions.GetOrAdd``2(System.Collections.Generic.IDictionary{``0,``1},``0,System.Func{``0,``1})">GetOrAdd&lt;TKey, TValue&gt;(IDictionary&lt;TKey, TValue&gt;, TKey, Func&lt;TKey, TValue&gt;)</h4>
  <div class="markdown level1 summary"><p>Adds a key/value pair to the <span class="xref">System.Collections.Generic.IDictionary&lt;TKey, TValue&gt;</span> if the key does not already exist.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TValue GetOrAdd&lt;TKey, TValue&gt;(this IDictionary&lt;TKey, TValue&gt; dictionary, TKey key, Func&lt;TKey, TValue&gt; valueFactory)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IDictionary</span>&lt;TKey, TValue&gt;</td>
        <td><span class="parametername">dictionary</span></td>
        <td><p>The dictionary.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TKey</span></td>
        <td><span class="parametername">key</span></td>
        <td><p>The key of the element to add.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TKey, TValue&gt;</td>
        <td><span class="parametername">valueFactory</span></td>
        <td><p>The function used to generate a value for the key</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TValue</span></td>
        <td><p>The value for the key. This will be either the existing value for the key if the key is already in the
dictionary, or the new value if the key was not in the dictionary.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TValue</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__2_System_Collections_Concurrent_ConcurrentDictionary___0___1____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.DictionaryExtensions.GetValueOrDefault%60%602(System.Collections.Concurrent.ConcurrentDictionary%7B%60%600%2C%60%601%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Dictionary/DictionaryExtensions.GetValueOrDefault.generated.cs/#L516">View Source</a>
  </span>
  <a id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault_" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault*"></a>
  <h4 id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__2_System_Collections_Concurrent_ConcurrentDictionary___0___1____0_" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault``2(System.Collections.Concurrent.ConcurrentDictionary{``0,``1},``0)">GetValueOrDefault&lt;TKey, TValue&gt;(ConcurrentDictionary&lt;TKey, TValue&gt;, TKey)</h4>
  <div class="markdown level1 summary"><p>Returns value associated with <code data-dev-comment-type="paramref" class="paramref">key</code>, or default(TValue) if key does not exists in
<code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TValue GetValueOrDefault&lt;TKey, TValue&gt;(this ConcurrentDictionary&lt;TKey, TValue&gt; dictionary, TKey key)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Concurrent.ConcurrentDictionary</span>&lt;TKey, TValue&gt;</td>
        <td><span class="parametername">dictionary</span></td>
        <td><p>The dictionary.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TKey</span></td>
        <td><span class="parametername">key</span></td>
        <td><p>The key.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TValue</span></td>
        <td><p>Value, associated with the <code data-dev-comment-type="paramref" class="paramref">key</code>, or default value if <code data-dev-comment-type="paramref" class="paramref">key</code> does not exists
in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td><p>The type of the key.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TValue</span></td>
        <td><p>The type of the value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__2_System_Collections_Concurrent_ConcurrentDictionary___0___1____0___1_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.DictionaryExtensions.GetValueOrDefault%60%602(System.Collections.Concurrent.ConcurrentDictionary%7B%60%600%2C%60%601%7D%2C%60%600%2C%60%601)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Dictionary/DictionaryExtensions.GetValueOrDefault.generated.cs/#L533">View Source</a>
  </span>
  <a id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault_" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault*"></a>
  <h4 id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__2_System_Collections_Concurrent_ConcurrentDictionary___0___1____0___1_" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault``2(System.Collections.Concurrent.ConcurrentDictionary{``0,``1},``0,``1)">GetValueOrDefault&lt;TKey, TValue&gt;(ConcurrentDictionary&lt;TKey, TValue&gt;, TKey, TValue)</h4>
  <div class="markdown level1 summary"><p>Returns value associated with <code data-dev-comment-type="paramref" class="paramref">key</code>, or <code data-dev-comment-type="paramref" class="paramref">defaultValue</code> if key does not exists
in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TValue GetValueOrDefault&lt;TKey, TValue&gt;(this ConcurrentDictionary&lt;TKey, TValue&gt; dictionary, TKey key, TValue defaultValue)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Concurrent.ConcurrentDictionary</span>&lt;TKey, TValue&gt;</td>
        <td><span class="parametername">dictionary</span></td>
        <td><p>The dictionary.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TKey</span></td>
        <td><span class="parametername">key</span></td>
        <td><p>The key.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TValue</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Default value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TValue</span></td>
        <td><p>Value, associated with the <code data-dev-comment-type="paramref" class="paramref">key</code>, or <code data-dev-comment-type="paramref" class="paramref">defaultValue</code> if <code data-dev-comment-type="paramref" class="paramref">key</code>
does not exists in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td><p>The type of the key.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TValue</span></td>
        <td><p>The type of the value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__2_System_Collections_Concurrent_ConcurrentDictionary___0___1____0_System_Func___0___1__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.DictionaryExtensions.GetValueOrDefault%60%602(System.Collections.Concurrent.ConcurrentDictionary%7B%60%600%2C%60%601%7D%2C%60%600%2CSystem.Func%7B%60%600%2C%60%601%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Dictionary/DictionaryExtensions.GetValueOrDefault.generated.cs/#L614">View Source</a>
  </span>
  <a id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault_" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault*"></a>
  <h4 id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__2_System_Collections_Concurrent_ConcurrentDictionary___0___1____0_System_Func___0___1__" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault``2(System.Collections.Concurrent.ConcurrentDictionary{``0,``1},``0,System.Func{``0,``1})">GetValueOrDefault&lt;TKey, TValue&gt;(ConcurrentDictionary&lt;TKey, TValue&gt;, TKey, Func&lt;TKey, TValue&gt;)</h4>
  <div class="markdown level1 summary"><p>Returns value associated with <code data-dev-comment-type="paramref" class="paramref">key</code>, or value returned by <code data-dev-comment-type="paramref" class="paramref">defaultValueFactory</code>
if key does not exists in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TValue GetValueOrDefault&lt;TKey, TValue&gt;(this ConcurrentDictionary&lt;TKey, TValue&gt; dictionary, TKey key, Func&lt;TKey, TValue&gt; defaultValueFactory)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Concurrent.ConcurrentDictionary</span>&lt;TKey, TValue&gt;</td>
        <td><span class="parametername">dictionary</span></td>
        <td><p>The dictionary.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TKey</span></td>
        <td><span class="parametername">key</span></td>
        <td><p>The key.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TKey, TValue&gt;</td>
        <td><span class="parametername">defaultValueFactory</span></td>
        <td><p>Function to return default value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TValue</span></td>
        <td><p>Value, associated with the <code data-dev-comment-type="paramref" class="paramref">key</code>, or value returned by <code data-dev-comment-type="paramref" class="paramref">defaultValueFactory</code>
if <code data-dev-comment-type="paramref" class="paramref">key</code> does not exists in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td><p>The type of the key.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TValue</span></td>
        <td><p>The type of the value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__2_System_Collections_Generic_Dictionary___0___1____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.DictionaryExtensions.GetValueOrDefault%60%602(System.Collections.Generic.Dictionary%7B%60%600%2C%60%601%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Dictionary/DictionaryExtensions.GetValueOrDefault.generated.cs/#L355">View Source</a>
  </span>
  <a id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault_" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault*"></a>
  <h4 id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__2_System_Collections_Generic_Dictionary___0___1____0_" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault``2(System.Collections.Generic.Dictionary{``0,``1},``0)">GetValueOrDefault&lt;TKey, TValue&gt;(Dictionary&lt;TKey, TValue&gt;, TKey)</h4>
  <div class="markdown level1 summary"><p>Returns value associated with <code data-dev-comment-type="paramref" class="paramref">key</code>, or default(TValue) if key does not exists in
<code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TValue GetValueOrDefault&lt;TKey, TValue&gt;(this Dictionary&lt;TKey, TValue&gt; dictionary, TKey key)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.Dictionary</span>&lt;TKey, TValue&gt;</td>
        <td><span class="parametername">dictionary</span></td>
        <td><p>The dictionary.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TKey</span></td>
        <td><span class="parametername">key</span></td>
        <td><p>The key.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TValue</span></td>
        <td><p>Value, associated with the <code data-dev-comment-type="paramref" class="paramref">key</code>, or default value if <code data-dev-comment-type="paramref" class="paramref">key</code> does not exists
in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td><p>The type of the key.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TValue</span></td>
        <td><p>The type of the value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__2_System_Collections_Generic_Dictionary___0___1____0___1_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.DictionaryExtensions.GetValueOrDefault%60%602(System.Collections.Generic.Dictionary%7B%60%600%2C%60%601%7D%2C%60%600%2C%60%601)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Dictionary/DictionaryExtensions.GetValueOrDefault.generated.cs/#L372">View Source</a>
  </span>
  <a id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault_" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault*"></a>
  <h4 id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__2_System_Collections_Generic_Dictionary___0___1____0___1_" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault``2(System.Collections.Generic.Dictionary{``0,``1},``0,``1)">GetValueOrDefault&lt;TKey, TValue&gt;(Dictionary&lt;TKey, TValue&gt;, TKey, TValue)</h4>
  <div class="markdown level1 summary"><p>Returns value associated with <code data-dev-comment-type="paramref" class="paramref">key</code>, or <code data-dev-comment-type="paramref" class="paramref">defaultValue</code> if key does not exists
in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TValue GetValueOrDefault&lt;TKey, TValue&gt;(this Dictionary&lt;TKey, TValue&gt; dictionary, TKey key, TValue defaultValue)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.Dictionary</span>&lt;TKey, TValue&gt;</td>
        <td><span class="parametername">dictionary</span></td>
        <td><p>The dictionary.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TKey</span></td>
        <td><span class="parametername">key</span></td>
        <td><p>The key.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TValue</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Default value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TValue</span></td>
        <td><p>Value, associated with the <code data-dev-comment-type="paramref" class="paramref">key</code>, or <code data-dev-comment-type="paramref" class="paramref">defaultValue</code> if <code data-dev-comment-type="paramref" class="paramref">key</code>
does not exists in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td><p>The type of the key.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TValue</span></td>
        <td><p>The type of the value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__2_System_Collections_Generic_Dictionary___0___1____0_System_Func___0___1__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.DictionaryExtensions.GetValueOrDefault%60%602(System.Collections.Generic.Dictionary%7B%60%600%2C%60%601%7D%2C%60%600%2CSystem.Func%7B%60%600%2C%60%601%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Dictionary/DictionaryExtensions.GetValueOrDefault.generated.cs/#L453">View Source</a>
  </span>
  <a id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault_" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault*"></a>
  <h4 id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__2_System_Collections_Generic_Dictionary___0___1____0_System_Func___0___1__" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault``2(System.Collections.Generic.Dictionary{``0,``1},``0,System.Func{``0,``1})">GetValueOrDefault&lt;TKey, TValue&gt;(Dictionary&lt;TKey, TValue&gt;, TKey, Func&lt;TKey, TValue&gt;)</h4>
  <div class="markdown level1 summary"><p>Returns value associated with <code data-dev-comment-type="paramref" class="paramref">key</code>, or value returned by <code data-dev-comment-type="paramref" class="paramref">defaultValueFactory</code>
if key does not exists in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TValue GetValueOrDefault&lt;TKey, TValue&gt;(this Dictionary&lt;TKey, TValue&gt; dictionary, TKey key, Func&lt;TKey, TValue&gt; defaultValueFactory)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.Dictionary</span>&lt;TKey, TValue&gt;</td>
        <td><span class="parametername">dictionary</span></td>
        <td><p>The dictionary.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TKey</span></td>
        <td><span class="parametername">key</span></td>
        <td><p>The key.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TKey, TValue&gt;</td>
        <td><span class="parametername">defaultValueFactory</span></td>
        <td><p>Function to return default value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TValue</span></td>
        <td><p>Value, associated with the <code data-dev-comment-type="paramref" class="paramref">key</code>, or value returned by <code data-dev-comment-type="paramref" class="paramref">defaultValueFactory</code>
if <code data-dev-comment-type="paramref" class="paramref">key</code> does not exists in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td><p>The type of the key.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TValue</span></td>
        <td><p>The type of the value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__2_System_Collections_Generic_IDictionary___0___1____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.DictionaryExtensions.GetValueOrDefault%60%602(System.Collections.Generic.IDictionary%7B%60%600%2C%60%601%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Dictionary/DictionaryExtensions.GetValueOrDefault.generated.cs/#L33">View Source</a>
  </span>
  <a id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault_" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault*"></a>
  <h4 id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__2_System_Collections_Generic_IDictionary___0___1____0_" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault``2(System.Collections.Generic.IDictionary{``0,``1},``0)">GetValueOrDefault&lt;TKey, TValue&gt;(IDictionary&lt;TKey, TValue&gt;, TKey)</h4>
  <div class="markdown level1 summary"><p>Returns value associated with <code data-dev-comment-type="paramref" class="paramref">key</code>, or default(TValue) if key does not exists in
<code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TValue GetValueOrDefault&lt;TKey, TValue&gt;(this IDictionary&lt;TKey, TValue&gt; dictionary, TKey key)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IDictionary</span>&lt;TKey, TValue&gt;</td>
        <td><span class="parametername">dictionary</span></td>
        <td><p>The dictionary.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TKey</span></td>
        <td><span class="parametername">key</span></td>
        <td><p>The key.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TValue</span></td>
        <td><p>Value, associated with the <code data-dev-comment-type="paramref" class="paramref">key</code>, or default value if <code data-dev-comment-type="paramref" class="paramref">key</code> does not exists
in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td><p>The type of the key.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TValue</span></td>
        <td><p>The type of the value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__2_System_Collections_Generic_IDictionary___0___1____0___1_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.DictionaryExtensions.GetValueOrDefault%60%602(System.Collections.Generic.IDictionary%7B%60%600%2C%60%601%7D%2C%60%600%2C%60%601)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Dictionary/DictionaryExtensions.GetValueOrDefault.generated.cs/#L50">View Source</a>
  </span>
  <a id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault_" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault*"></a>
  <h4 id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__2_System_Collections_Generic_IDictionary___0___1____0___1_" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault``2(System.Collections.Generic.IDictionary{``0,``1},``0,``1)">GetValueOrDefault&lt;TKey, TValue&gt;(IDictionary&lt;TKey, TValue&gt;, TKey, TValue)</h4>
  <div class="markdown level1 summary"><p>Returns value associated with <code data-dev-comment-type="paramref" class="paramref">key</code>, or <code data-dev-comment-type="paramref" class="paramref">defaultValue</code> if key does not exists
in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TValue GetValueOrDefault&lt;TKey, TValue&gt;(this IDictionary&lt;TKey, TValue&gt; dictionary, TKey key, TValue defaultValue)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IDictionary</span>&lt;TKey, TValue&gt;</td>
        <td><span class="parametername">dictionary</span></td>
        <td><p>The dictionary.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TKey</span></td>
        <td><span class="parametername">key</span></td>
        <td><p>The key.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TValue</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Default value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TValue</span></td>
        <td><p>Value, associated with the <code data-dev-comment-type="paramref" class="paramref">key</code>, or <code data-dev-comment-type="paramref" class="paramref">defaultValue</code> if <code data-dev-comment-type="paramref" class="paramref">key</code>
does not exists in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td><p>The type of the key.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TValue</span></td>
        <td><p>The type of the value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__2_System_Collections_Generic_IDictionary___0___1____0_System_Func___0___1__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.DictionaryExtensions.GetValueOrDefault%60%602(System.Collections.Generic.IDictionary%7B%60%600%2C%60%601%7D%2C%60%600%2CSystem.Func%7B%60%600%2C%60%601%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Dictionary/DictionaryExtensions.GetValueOrDefault.generated.cs/#L131">View Source</a>
  </span>
  <a id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault_" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault*"></a>
  <h4 id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__2_System_Collections_Generic_IDictionary___0___1____0_System_Func___0___1__" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault``2(System.Collections.Generic.IDictionary{``0,``1},``0,System.Func{``0,``1})">GetValueOrDefault&lt;TKey, TValue&gt;(IDictionary&lt;TKey, TValue&gt;, TKey, Func&lt;TKey, TValue&gt;)</h4>
  <div class="markdown level1 summary"><p>Returns value associated with <code data-dev-comment-type="paramref" class="paramref">key</code>, or value returned by <code data-dev-comment-type="paramref" class="paramref">defaultValueFactory</code>
if key does not exists in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TValue GetValueOrDefault&lt;TKey, TValue&gt;(this IDictionary&lt;TKey, TValue&gt; dictionary, TKey key, Func&lt;TKey, TValue&gt; defaultValueFactory)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IDictionary</span>&lt;TKey, TValue&gt;</td>
        <td><span class="parametername">dictionary</span></td>
        <td><p>The dictionary.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TKey</span></td>
        <td><span class="parametername">key</span></td>
        <td><p>The key.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TKey, TValue&gt;</td>
        <td><span class="parametername">defaultValueFactory</span></td>
        <td><p>Function to return default value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TValue</span></td>
        <td><p>Value, associated with the <code data-dev-comment-type="paramref" class="paramref">key</code>, or value returned by <code data-dev-comment-type="paramref" class="paramref">defaultValueFactory</code>
if <code data-dev-comment-type="paramref" class="paramref">key</code> does not exists in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td><p>The type of the key.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TValue</span></td>
        <td><p>The type of the value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__2_System_Collections_Generic_IReadOnlyDictionary___0___1____0_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.DictionaryExtensions.GetValueOrDefault%60%602(System.Collections.Generic.IReadOnlyDictionary%7B%60%600%2C%60%601%7D%2C%60%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Dictionary/DictionaryExtensions.GetValueOrDefault.generated.cs/#L194">View Source</a>
  </span>
  <a id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault_" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault*"></a>
  <h4 id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__2_System_Collections_Generic_IReadOnlyDictionary___0___1____0_" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault``2(System.Collections.Generic.IReadOnlyDictionary{``0,``1},``0)">GetValueOrDefault&lt;TKey, TValue&gt;(IReadOnlyDictionary&lt;TKey, TValue&gt;, TKey)</h4>
  <div class="markdown level1 summary"><p>Returns value associated with <code data-dev-comment-type="paramref" class="paramref">key</code>, or default(TValue) if key does not exists in
<code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TValue GetValueOrDefault&lt;TKey, TValue&gt;(this IReadOnlyDictionary&lt;TKey, TValue&gt; dictionary, TKey key)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IReadOnlyDictionary</span>&lt;TKey, TValue&gt;</td>
        <td><span class="parametername">dictionary</span></td>
        <td><p>The dictionary.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TKey</span></td>
        <td><span class="parametername">key</span></td>
        <td><p>The key.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TValue</span></td>
        <td><p>Value, associated with the <code data-dev-comment-type="paramref" class="paramref">key</code>, or default value if <code data-dev-comment-type="paramref" class="paramref">key</code> does not exists
in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td><p>The type of the key.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TValue</span></td>
        <td><p>The type of the value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__2_System_Collections_Generic_IReadOnlyDictionary___0___1____0___1_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.DictionaryExtensions.GetValueOrDefault%60%602(System.Collections.Generic.IReadOnlyDictionary%7B%60%600%2C%60%601%7D%2C%60%600%2C%60%601)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Dictionary/DictionaryExtensions.GetValueOrDefault.generated.cs/#L211">View Source</a>
  </span>
  <a id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault_" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault*"></a>
  <h4 id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__2_System_Collections_Generic_IReadOnlyDictionary___0___1____0___1_" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault``2(System.Collections.Generic.IReadOnlyDictionary{``0,``1},``0,``1)">GetValueOrDefault&lt;TKey, TValue&gt;(IReadOnlyDictionary&lt;TKey, TValue&gt;, TKey, TValue)</h4>
  <div class="markdown level1 summary"><p>Returns value associated with <code data-dev-comment-type="paramref" class="paramref">key</code>, or <code data-dev-comment-type="paramref" class="paramref">defaultValue</code> if key does not exists
in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TValue GetValueOrDefault&lt;TKey, TValue&gt;(this IReadOnlyDictionary&lt;TKey, TValue&gt; dictionary, TKey key, TValue defaultValue)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IReadOnlyDictionary</span>&lt;TKey, TValue&gt;</td>
        <td><span class="parametername">dictionary</span></td>
        <td><p>The dictionary.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TKey</span></td>
        <td><span class="parametername">key</span></td>
        <td><p>The key.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TValue</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Default value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TValue</span></td>
        <td><p>Value, associated with the <code data-dev-comment-type="paramref" class="paramref">key</code>, or <code data-dev-comment-type="paramref" class="paramref">defaultValue</code> if <code data-dev-comment-type="paramref" class="paramref">key</code>
does not exists in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td><p>The type of the key.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TValue</span></td>
        <td><p>The type of the value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__2_System_Collections_Generic_IReadOnlyDictionary___0___1____0_System_Func___0___1__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.DictionaryExtensions.GetValueOrDefault%60%602(System.Collections.Generic.IReadOnlyDictionary%7B%60%600%2C%60%601%7D%2C%60%600%2CSystem.Func%7B%60%600%2C%60%601%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Dictionary/DictionaryExtensions.GetValueOrDefault.generated.cs/#L292">View Source</a>
  </span>
  <a id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault_" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault*"></a>
  <h4 id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__2_System_Collections_Generic_IReadOnlyDictionary___0___1____0_System_Func___0___1__" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault``2(System.Collections.Generic.IReadOnlyDictionary{``0,``1},``0,System.Func{``0,``1})">GetValueOrDefault&lt;TKey, TValue&gt;(IReadOnlyDictionary&lt;TKey, TValue&gt;, TKey, Func&lt;TKey, TValue&gt;)</h4>
  <div class="markdown level1 summary"><p>Returns value associated with <code data-dev-comment-type="paramref" class="paramref">key</code>, or value returned by <code data-dev-comment-type="paramref" class="paramref">defaultValueFactory</code>
if key does not exists in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TValue GetValueOrDefault&lt;TKey, TValue&gt;(this IReadOnlyDictionary&lt;TKey, TValue&gt; dictionary, TKey key, Func&lt;TKey, TValue&gt; defaultValueFactory)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IReadOnlyDictionary</span>&lt;TKey, TValue&gt;</td>
        <td><span class="parametername">dictionary</span></td>
        <td><p>The dictionary.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TKey</span></td>
        <td><span class="parametername">key</span></td>
        <td><p>The key.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TKey, TValue&gt;</td>
        <td><span class="parametername">defaultValueFactory</span></td>
        <td><p>Function to return default value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TValue</span></td>
        <td><p>Value, associated with the <code data-dev-comment-type="paramref" class="paramref">key</code>, or value returned by <code data-dev-comment-type="paramref" class="paramref">defaultValueFactory</code>
if <code data-dev-comment-type="paramref" class="paramref">key</code> does not exists in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td><p>The type of the key.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TValue</span></td>
        <td><p>The type of the value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__3_System_Collections_Concurrent_ConcurrentDictionary___0___1____0_System_Func___0___1___2__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.DictionaryExtensions.GetValueOrDefault%60%603(System.Collections.Concurrent.ConcurrentDictionary%7B%60%600%2C%60%601%7D%2C%60%600%2CSystem.Func%7B%60%600%2C%60%601%2C%60%602%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Dictionary/DictionaryExtensions.GetValueOrDefault.generated.cs/#L562">View Source</a>
  </span>
  <a id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault_" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault*"></a>
  <h4 id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__3_System_Collections_Concurrent_ConcurrentDictionary___0___1____0_System_Func___0___1___2__" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault``3(System.Collections.Concurrent.ConcurrentDictionary{``0,``1},``0,System.Func{``0,``1,``2})">GetValueOrDefault&lt;TKey, TValue, TResult&gt;(ConcurrentDictionary&lt;TKey, TValue&gt;, TKey, Func&lt;TKey, TValue, TResult&gt;)</h4>
  <div class="markdown level1 summary"><p>Returns value associated with <code data-dev-comment-type="paramref" class="paramref">key</code>, or default value if key does not exists
in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TResult GetValueOrDefault&lt;TKey, TValue, TResult&gt;(this ConcurrentDictionary&lt;TKey, TValue&gt; dictionary, TKey key, Func&lt;TKey, TValue, TResult&gt; resultSelector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Concurrent.ConcurrentDictionary</span>&lt;TKey, TValue&gt;</td>
        <td><span class="parametername">dictionary</span></td>
        <td><p>The dictionary.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TKey</span></td>
        <td><span class="parametername">key</span></td>
        <td><p>The key.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TKey, TValue, TResult&gt;</td>
        <td><span class="parametername">resultSelector</span></td>
        <td><p>Function to select result.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TResult</span></td>
        <td><p>Value, associated with the <code data-dev-comment-type="paramref" class="paramref">key</code>, or default value if <code data-dev-comment-type="paramref" class="paramref">key</code>
does not exists in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td><p>The type of the key.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TValue</span></td>
        <td><p>The type of the value.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TResult</span></td>
        <td><p>Result type.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__3_System_Collections_Concurrent_ConcurrentDictionary___0___1____0_System_Func___0___1___2____2_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.DictionaryExtensions.GetValueOrDefault%60%603(System.Collections.Concurrent.ConcurrentDictionary%7B%60%600%2C%60%601%7D%2C%60%600%2CSystem.Func%7B%60%600%2C%60%601%2C%60%602%7D%2C%60%602)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Dictionary/DictionaryExtensions.GetValueOrDefault.generated.cs/#L584">View Source</a>
  </span>
  <a id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault_" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault*"></a>
  <h4 id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__3_System_Collections_Concurrent_ConcurrentDictionary___0___1____0_System_Func___0___1___2____2_" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault``3(System.Collections.Concurrent.ConcurrentDictionary{``0,``1},``0,System.Func{``0,``1,``2},``2)">GetValueOrDefault&lt;TKey, TValue, TResult&gt;(ConcurrentDictionary&lt;TKey, TValue&gt;, TKey, Func&lt;TKey, TValue, TResult&gt;, TResult)</h4>
  <div class="markdown level1 summary"><p>Returns value associated with <code data-dev-comment-type="paramref" class="paramref">key</code>, or <code data-dev-comment-type="paramref" class="paramref">defaultValue</code> if key does not exists
in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TResult GetValueOrDefault&lt;TKey, TValue, TResult&gt;(this ConcurrentDictionary&lt;TKey, TValue&gt; dictionary, TKey key, Func&lt;TKey, TValue, TResult&gt; resultSelector, TResult defaultValue)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Concurrent.ConcurrentDictionary</span>&lt;TKey, TValue&gt;</td>
        <td><span class="parametername">dictionary</span></td>
        <td><p>The dictionary.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TKey</span></td>
        <td><span class="parametername">key</span></td>
        <td><p>The key.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TKey, TValue, TResult&gt;</td>
        <td><span class="parametername">resultSelector</span></td>
        <td><p>Function to select result.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TResult</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Default value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TResult</span></td>
        <td><p>Value, associated with the <code data-dev-comment-type="paramref" class="paramref">key</code>, or <code data-dev-comment-type="paramref" class="paramref">defaultValue</code> if <code data-dev-comment-type="paramref" class="paramref">key</code>
does not exists in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td><p>The type of the key.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TValue</span></td>
        <td><p>The type of the value.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TResult</span></td>
        <td><p>Result type.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__3_System_Collections_Concurrent_ConcurrentDictionary___0___1____0_System_Func___0___1___2__System_Func___0___2__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.DictionaryExtensions.GetValueOrDefault%60%603(System.Collections.Concurrent.ConcurrentDictionary%7B%60%600%2C%60%601%7D%2C%60%600%2CSystem.Func%7B%60%600%2C%60%601%2C%60%602%7D%2CSystem.Func%7B%60%600%2C%60%602%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Dictionary/DictionaryExtensions.GetValueOrDefault.generated.cs/#L645">View Source</a>
  </span>
  <a id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault_" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault*"></a>
  <h4 id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__3_System_Collections_Concurrent_ConcurrentDictionary___0___1____0_System_Func___0___1___2__System_Func___0___2__" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault``3(System.Collections.Concurrent.ConcurrentDictionary{``0,``1},``0,System.Func{``0,``1,``2},System.Func{``0,``2})">GetValueOrDefault&lt;TKey, TValue, TResult&gt;(ConcurrentDictionary&lt;TKey, TValue&gt;, TKey, Func&lt;TKey, TValue, TResult&gt;, Func&lt;TKey, TResult&gt;)</h4>
  <div class="markdown level1 summary"><p>Returns value associated with <code data-dev-comment-type="paramref" class="paramref">key</code>, or value returned by <code data-dev-comment-type="paramref" class="paramref">defaultValueFactory</code>
if key does not exists in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TResult GetValueOrDefault&lt;TKey, TValue, TResult&gt;(this ConcurrentDictionary&lt;TKey, TValue&gt; dictionary, TKey key, Func&lt;TKey, TValue, TResult&gt; resultSelector, Func&lt;TKey, TResult&gt; defaultValueFactory)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Concurrent.ConcurrentDictionary</span>&lt;TKey, TValue&gt;</td>
        <td><span class="parametername">dictionary</span></td>
        <td><p>The dictionary.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TKey</span></td>
        <td><span class="parametername">key</span></td>
        <td><p>The key.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TKey, TValue, TResult&gt;</td>
        <td><span class="parametername">resultSelector</span></td>
        <td><p>Function to select result.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TKey, TResult&gt;</td>
        <td><span class="parametername">defaultValueFactory</span></td>
        <td><p>Function to return default value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TResult</span></td>
        <td><p>Value, associated with the <code data-dev-comment-type="paramref" class="paramref">key</code>, or value returned by <code data-dev-comment-type="paramref" class="paramref">defaultValueFactory</code>
if <code data-dev-comment-type="paramref" class="paramref">key</code> does not exists in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td><p>The type of the key.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TValue</span></td>
        <td><p>The type of the value.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TResult</span></td>
        <td><p>Result type.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__3_System_Collections_Generic_Dictionary___0___1____0_System_Func___0___1___2__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.DictionaryExtensions.GetValueOrDefault%60%603(System.Collections.Generic.Dictionary%7B%60%600%2C%60%601%7D%2C%60%600%2CSystem.Func%7B%60%600%2C%60%601%2C%60%602%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Dictionary/DictionaryExtensions.GetValueOrDefault.generated.cs/#L401">View Source</a>
  </span>
  <a id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault_" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault*"></a>
  <h4 id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__3_System_Collections_Generic_Dictionary___0___1____0_System_Func___0___1___2__" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault``3(System.Collections.Generic.Dictionary{``0,``1},``0,System.Func{``0,``1,``2})">GetValueOrDefault&lt;TKey, TValue, TResult&gt;(Dictionary&lt;TKey, TValue&gt;, TKey, Func&lt;TKey, TValue, TResult&gt;)</h4>
  <div class="markdown level1 summary"><p>Returns value associated with <code data-dev-comment-type="paramref" class="paramref">key</code>, or default value if key does not exists
in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TResult GetValueOrDefault&lt;TKey, TValue, TResult&gt;(this Dictionary&lt;TKey, TValue&gt; dictionary, TKey key, Func&lt;TKey, TValue, TResult&gt; resultSelector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.Dictionary</span>&lt;TKey, TValue&gt;</td>
        <td><span class="parametername">dictionary</span></td>
        <td><p>The dictionary.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TKey</span></td>
        <td><span class="parametername">key</span></td>
        <td><p>The key.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TKey, TValue, TResult&gt;</td>
        <td><span class="parametername">resultSelector</span></td>
        <td><p>Function to select result.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TResult</span></td>
        <td><p>Value, associated with the <code data-dev-comment-type="paramref" class="paramref">key</code>, or default value if <code data-dev-comment-type="paramref" class="paramref">key</code>
does not exists in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td><p>The type of the key.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TValue</span></td>
        <td><p>The type of the value.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TResult</span></td>
        <td><p>Result type.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__3_System_Collections_Generic_Dictionary___0___1____0_System_Func___0___1___2____2_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.DictionaryExtensions.GetValueOrDefault%60%603(System.Collections.Generic.Dictionary%7B%60%600%2C%60%601%7D%2C%60%600%2CSystem.Func%7B%60%600%2C%60%601%2C%60%602%7D%2C%60%602)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Dictionary/DictionaryExtensions.GetValueOrDefault.generated.cs/#L423">View Source</a>
  </span>
  <a id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault_" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault*"></a>
  <h4 id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__3_System_Collections_Generic_Dictionary___0___1____0_System_Func___0___1___2____2_" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault``3(System.Collections.Generic.Dictionary{``0,``1},``0,System.Func{``0,``1,``2},``2)">GetValueOrDefault&lt;TKey, TValue, TResult&gt;(Dictionary&lt;TKey, TValue&gt;, TKey, Func&lt;TKey, TValue, TResult&gt;, TResult)</h4>
  <div class="markdown level1 summary"><p>Returns value associated with <code data-dev-comment-type="paramref" class="paramref">key</code>, or <code data-dev-comment-type="paramref" class="paramref">defaultValue</code> if key does not exists
in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TResult GetValueOrDefault&lt;TKey, TValue, TResult&gt;(this Dictionary&lt;TKey, TValue&gt; dictionary, TKey key, Func&lt;TKey, TValue, TResult&gt; resultSelector, TResult defaultValue)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.Dictionary</span>&lt;TKey, TValue&gt;</td>
        <td><span class="parametername">dictionary</span></td>
        <td><p>The dictionary.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TKey</span></td>
        <td><span class="parametername">key</span></td>
        <td><p>The key.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TKey, TValue, TResult&gt;</td>
        <td><span class="parametername">resultSelector</span></td>
        <td><p>Function to select result.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TResult</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Default value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TResult</span></td>
        <td><p>Value, associated with the <code data-dev-comment-type="paramref" class="paramref">key</code>, or <code data-dev-comment-type="paramref" class="paramref">defaultValue</code> if <code data-dev-comment-type="paramref" class="paramref">key</code>
does not exists in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td><p>The type of the key.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TValue</span></td>
        <td><p>The type of the value.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TResult</span></td>
        <td><p>Result type.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__3_System_Collections_Generic_Dictionary___0___1____0_System_Func___0___1___2__System_Func___0___2__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.DictionaryExtensions.GetValueOrDefault%60%603(System.Collections.Generic.Dictionary%7B%60%600%2C%60%601%7D%2C%60%600%2CSystem.Func%7B%60%600%2C%60%601%2C%60%602%7D%2CSystem.Func%7B%60%600%2C%60%602%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Dictionary/DictionaryExtensions.GetValueOrDefault.generated.cs/#L484">View Source</a>
  </span>
  <a id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault_" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault*"></a>
  <h4 id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__3_System_Collections_Generic_Dictionary___0___1____0_System_Func___0___1___2__System_Func___0___2__" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault``3(System.Collections.Generic.Dictionary{``0,``1},``0,System.Func{``0,``1,``2},System.Func{``0,``2})">GetValueOrDefault&lt;TKey, TValue, TResult&gt;(Dictionary&lt;TKey, TValue&gt;, TKey, Func&lt;TKey, TValue, TResult&gt;, Func&lt;TKey, TResult&gt;)</h4>
  <div class="markdown level1 summary"><p>Returns value associated with <code data-dev-comment-type="paramref" class="paramref">key</code>, or value returned by <code data-dev-comment-type="paramref" class="paramref">defaultValueFactory</code>
if key does not exists in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TResult GetValueOrDefault&lt;TKey, TValue, TResult&gt;(this Dictionary&lt;TKey, TValue&gt; dictionary, TKey key, Func&lt;TKey, TValue, TResult&gt; resultSelector, Func&lt;TKey, TResult&gt; defaultValueFactory)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.Dictionary</span>&lt;TKey, TValue&gt;</td>
        <td><span class="parametername">dictionary</span></td>
        <td><p>The dictionary.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TKey</span></td>
        <td><span class="parametername">key</span></td>
        <td><p>The key.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TKey, TValue, TResult&gt;</td>
        <td><span class="parametername">resultSelector</span></td>
        <td><p>Function to select result.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TKey, TResult&gt;</td>
        <td><span class="parametername">defaultValueFactory</span></td>
        <td><p>Function to return default value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TResult</span></td>
        <td><p>Value, associated with the <code data-dev-comment-type="paramref" class="paramref">key</code>, or value returned by <code data-dev-comment-type="paramref" class="paramref">defaultValueFactory</code>
if <code data-dev-comment-type="paramref" class="paramref">key</code> does not exists in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td><p>The type of the key.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TValue</span></td>
        <td><p>The type of the value.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TResult</span></td>
        <td><p>Result type.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__3_System_Collections_Generic_IDictionary___0___1____0_System_Func___0___1___2__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.DictionaryExtensions.GetValueOrDefault%60%603(System.Collections.Generic.IDictionary%7B%60%600%2C%60%601%7D%2C%60%600%2CSystem.Func%7B%60%600%2C%60%601%2C%60%602%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Dictionary/DictionaryExtensions.GetValueOrDefault.generated.cs/#L79">View Source</a>
  </span>
  <a id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault_" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault*"></a>
  <h4 id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__3_System_Collections_Generic_IDictionary___0___1____0_System_Func___0___1___2__" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault``3(System.Collections.Generic.IDictionary{``0,``1},``0,System.Func{``0,``1,``2})">GetValueOrDefault&lt;TKey, TValue, TResult&gt;(IDictionary&lt;TKey, TValue&gt;, TKey, Func&lt;TKey, TValue, TResult&gt;)</h4>
  <div class="markdown level1 summary"><p>Returns value associated with <code data-dev-comment-type="paramref" class="paramref">key</code>, or default value if key does not exists
in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TResult GetValueOrDefault&lt;TKey, TValue, TResult&gt;(this IDictionary&lt;TKey, TValue&gt; dictionary, TKey key, Func&lt;TKey, TValue, TResult&gt; resultSelector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IDictionary</span>&lt;TKey, TValue&gt;</td>
        <td><span class="parametername">dictionary</span></td>
        <td><p>The dictionary.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TKey</span></td>
        <td><span class="parametername">key</span></td>
        <td><p>The key.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TKey, TValue, TResult&gt;</td>
        <td><span class="parametername">resultSelector</span></td>
        <td><p>Function to select result.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TResult</span></td>
        <td><p>Value, associated with the <code data-dev-comment-type="paramref" class="paramref">key</code>, or default value if <code data-dev-comment-type="paramref" class="paramref">key</code>
does not exists in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td><p>The type of the key.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TValue</span></td>
        <td><p>The type of the value.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TResult</span></td>
        <td><p>Result type.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__3_System_Collections_Generic_IDictionary___0___1____0_System_Func___0___1___2____2_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.DictionaryExtensions.GetValueOrDefault%60%603(System.Collections.Generic.IDictionary%7B%60%600%2C%60%601%7D%2C%60%600%2CSystem.Func%7B%60%600%2C%60%601%2C%60%602%7D%2C%60%602)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Dictionary/DictionaryExtensions.GetValueOrDefault.generated.cs/#L101">View Source</a>
  </span>
  <a id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault_" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault*"></a>
  <h4 id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__3_System_Collections_Generic_IDictionary___0___1____0_System_Func___0___1___2____2_" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault``3(System.Collections.Generic.IDictionary{``0,``1},``0,System.Func{``0,``1,``2},``2)">GetValueOrDefault&lt;TKey, TValue, TResult&gt;(IDictionary&lt;TKey, TValue&gt;, TKey, Func&lt;TKey, TValue, TResult&gt;, TResult)</h4>
  <div class="markdown level1 summary"><p>Returns value associated with <code data-dev-comment-type="paramref" class="paramref">key</code>, or <code data-dev-comment-type="paramref" class="paramref">defaultValue</code> if key does not exists
in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TResult GetValueOrDefault&lt;TKey, TValue, TResult&gt;(this IDictionary&lt;TKey, TValue&gt; dictionary, TKey key, Func&lt;TKey, TValue, TResult&gt; resultSelector, TResult defaultValue)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IDictionary</span>&lt;TKey, TValue&gt;</td>
        <td><span class="parametername">dictionary</span></td>
        <td><p>The dictionary.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TKey</span></td>
        <td><span class="parametername">key</span></td>
        <td><p>The key.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TKey, TValue, TResult&gt;</td>
        <td><span class="parametername">resultSelector</span></td>
        <td><p>Function to select result.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TResult</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Default value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TResult</span></td>
        <td><p>Value, associated with the <code data-dev-comment-type="paramref" class="paramref">key</code>, or <code data-dev-comment-type="paramref" class="paramref">defaultValue</code> if <code data-dev-comment-type="paramref" class="paramref">key</code>
does not exists in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td><p>The type of the key.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TValue</span></td>
        <td><p>The type of the value.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TResult</span></td>
        <td><p>Result type.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__3_System_Collections_Generic_IDictionary___0___1____0_System_Func___0___1___2__System_Func___0___2__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.DictionaryExtensions.GetValueOrDefault%60%603(System.Collections.Generic.IDictionary%7B%60%600%2C%60%601%7D%2C%60%600%2CSystem.Func%7B%60%600%2C%60%601%2C%60%602%7D%2CSystem.Func%7B%60%600%2C%60%602%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Dictionary/DictionaryExtensions.GetValueOrDefault.generated.cs/#L162">View Source</a>
  </span>
  <a id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault_" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault*"></a>
  <h4 id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__3_System_Collections_Generic_IDictionary___0___1____0_System_Func___0___1___2__System_Func___0___2__" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault``3(System.Collections.Generic.IDictionary{``0,``1},``0,System.Func{``0,``1,``2},System.Func{``0,``2})">GetValueOrDefault&lt;TKey, TValue, TResult&gt;(IDictionary&lt;TKey, TValue&gt;, TKey, Func&lt;TKey, TValue, TResult&gt;, Func&lt;TKey, TResult&gt;)</h4>
  <div class="markdown level1 summary"><p>Returns value associated with <code data-dev-comment-type="paramref" class="paramref">key</code>, or value returned by <code data-dev-comment-type="paramref" class="paramref">defaultValueFactory</code>
if key does not exists in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TResult GetValueOrDefault&lt;TKey, TValue, TResult&gt;(this IDictionary&lt;TKey, TValue&gt; dictionary, TKey key, Func&lt;TKey, TValue, TResult&gt; resultSelector, Func&lt;TKey, TResult&gt; defaultValueFactory)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IDictionary</span>&lt;TKey, TValue&gt;</td>
        <td><span class="parametername">dictionary</span></td>
        <td><p>The dictionary.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TKey</span></td>
        <td><span class="parametername">key</span></td>
        <td><p>The key.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TKey, TValue, TResult&gt;</td>
        <td><span class="parametername">resultSelector</span></td>
        <td><p>Function to select result.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TKey, TResult&gt;</td>
        <td><span class="parametername">defaultValueFactory</span></td>
        <td><p>Function to return default value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TResult</span></td>
        <td><p>Value, associated with the <code data-dev-comment-type="paramref" class="paramref">key</code>, or value returned by <code data-dev-comment-type="paramref" class="paramref">defaultValueFactory</code>
if <code data-dev-comment-type="paramref" class="paramref">key</code> does not exists in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td><p>The type of the key.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TValue</span></td>
        <td><p>The type of the value.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TResult</span></td>
        <td><p>Result type.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__3_System_Collections_Generic_IReadOnlyDictionary___0___1____0_System_Func___0___1___2__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.DictionaryExtensions.GetValueOrDefault%60%603(System.Collections.Generic.IReadOnlyDictionary%7B%60%600%2C%60%601%7D%2C%60%600%2CSystem.Func%7B%60%600%2C%60%601%2C%60%602%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Dictionary/DictionaryExtensions.GetValueOrDefault.generated.cs/#L240">View Source</a>
  </span>
  <a id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault_" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault*"></a>
  <h4 id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__3_System_Collections_Generic_IReadOnlyDictionary___0___1____0_System_Func___0___1___2__" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault``3(System.Collections.Generic.IReadOnlyDictionary{``0,``1},``0,System.Func{``0,``1,``2})">GetValueOrDefault&lt;TKey, TValue, TResult&gt;(IReadOnlyDictionary&lt;TKey, TValue&gt;, TKey, Func&lt;TKey, TValue, TResult&gt;)</h4>
  <div class="markdown level1 summary"><p>Returns value associated with <code data-dev-comment-type="paramref" class="paramref">key</code>, or default value if key does not exists
in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TResult GetValueOrDefault&lt;TKey, TValue, TResult&gt;(this IReadOnlyDictionary&lt;TKey, TValue&gt; dictionary, TKey key, Func&lt;TKey, TValue, TResult&gt; resultSelector)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IReadOnlyDictionary</span>&lt;TKey, TValue&gt;</td>
        <td><span class="parametername">dictionary</span></td>
        <td><p>The dictionary.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TKey</span></td>
        <td><span class="parametername">key</span></td>
        <td><p>The key.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TKey, TValue, TResult&gt;</td>
        <td><span class="parametername">resultSelector</span></td>
        <td><p>Function to select result.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TResult</span></td>
        <td><p>Value, associated with the <code data-dev-comment-type="paramref" class="paramref">key</code>, or default value if <code data-dev-comment-type="paramref" class="paramref">key</code>
does not exists in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td><p>The type of the key.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TValue</span></td>
        <td><p>The type of the value.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TResult</span></td>
        <td><p>Result type.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__3_System_Collections_Generic_IReadOnlyDictionary___0___1____0_System_Func___0___1___2____2_.md&amp;value=---%0Auid%3A%20CodeJam.Collections.DictionaryExtensions.GetValueOrDefault%60%603(System.Collections.Generic.IReadOnlyDictionary%7B%60%600%2C%60%601%7D%2C%60%600%2CSystem.Func%7B%60%600%2C%60%601%2C%60%602%7D%2C%60%602)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Dictionary/DictionaryExtensions.GetValueOrDefault.generated.cs/#L262">View Source</a>
  </span>
  <a id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault_" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault*"></a>
  <h4 id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__3_System_Collections_Generic_IReadOnlyDictionary___0___1____0_System_Func___0___1___2____2_" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault``3(System.Collections.Generic.IReadOnlyDictionary{``0,``1},``0,System.Func{``0,``1,``2},``2)">GetValueOrDefault&lt;TKey, TValue, TResult&gt;(IReadOnlyDictionary&lt;TKey, TValue&gt;, TKey, Func&lt;TKey, TValue, TResult&gt;, TResult)</h4>
  <div class="markdown level1 summary"><p>Returns value associated with <code data-dev-comment-type="paramref" class="paramref">key</code>, or <code data-dev-comment-type="paramref" class="paramref">defaultValue</code> if key does not exists
in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TResult GetValueOrDefault&lt;TKey, TValue, TResult&gt;(this IReadOnlyDictionary&lt;TKey, TValue&gt; dictionary, TKey key, Func&lt;TKey, TValue, TResult&gt; resultSelector, TResult defaultValue)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IReadOnlyDictionary</span>&lt;TKey, TValue&gt;</td>
        <td><span class="parametername">dictionary</span></td>
        <td><p>The dictionary.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TKey</span></td>
        <td><span class="parametername">key</span></td>
        <td><p>The key.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TKey, TValue, TResult&gt;</td>
        <td><span class="parametername">resultSelector</span></td>
        <td><p>Function to select result.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TResult</span></td>
        <td><span class="parametername">defaultValue</span></td>
        <td><p>Default value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TResult</span></td>
        <td><p>Value, associated with the <code data-dev-comment-type="paramref" class="paramref">key</code>, or <code data-dev-comment-type="paramref" class="paramref">defaultValue</code> if <code data-dev-comment-type="paramref" class="paramref">key</code>
does not exists in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td><p>The type of the key.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TValue</span></td>
        <td><p>The type of the value.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TResult</span></td>
        <td><p>Result type.</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__3_System_Collections_Generic_IReadOnlyDictionary___0___1____0_System_Func___0___1___2__System_Func___0___2__.md&amp;value=---%0Auid%3A%20CodeJam.Collections.DictionaryExtensions.GetValueOrDefault%60%603(System.Collections.Generic.IReadOnlyDictionary%7B%60%600%2C%60%601%7D%2C%60%600%2CSystem.Func%7B%60%600%2C%60%601%2C%60%602%7D%2CSystem.Func%7B%60%600%2C%60%602%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Dictionary/DictionaryExtensions.GetValueOrDefault.generated.cs/#L323">View Source</a>
  </span>
  <a id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault_" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault*"></a>
  <h4 id="CodeJam_Collections_DictionaryExtensions_GetValueOrDefault__3_System_Collections_Generic_IReadOnlyDictionary___0___1____0_System_Func___0___1___2__System_Func___0___2__" data-uid="CodeJam.Collections.DictionaryExtensions.GetValueOrDefault``3(System.Collections.Generic.IReadOnlyDictionary{``0,``1},``0,System.Func{``0,``1,``2},System.Func{``0,``2})">GetValueOrDefault&lt;TKey, TValue, TResult&gt;(IReadOnlyDictionary&lt;TKey, TValue&gt;, TKey, Func&lt;TKey, TValue, TResult&gt;, Func&lt;TKey, TResult&gt;)</h4>
  <div class="markdown level1 summary"><p>Returns value associated with <code data-dev-comment-type="paramref" class="paramref">key</code>, or value returned by <code data-dev-comment-type="paramref" class="paramref">defaultValueFactory</code>
if key does not exists in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static TResult GetValueOrDefault&lt;TKey, TValue, TResult&gt;(this IReadOnlyDictionary&lt;TKey, TValue&gt; dictionary, TKey key, Func&lt;TKey, TValue, TResult&gt; resultSelector, Func&lt;TKey, TResult&gt; defaultValueFactory)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Collections.Generic.IReadOnlyDictionary</span>&lt;TKey, TValue&gt;</td>
        <td><span class="parametername">dictionary</span></td>
        <td><p>The dictionary.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">TKey</span></td>
        <td><span class="parametername">key</span></td>
        <td><p>The key.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TKey, TValue, TResult&gt;</td>
        <td><span class="parametername">resultSelector</span></td>
        <td><p>Function to select result.</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Func</span>&lt;TKey, TResult&gt;</td>
        <td><span class="parametername">defaultValueFactory</span></td>
        <td><p>Function to return default value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">TResult</span></td>
        <td><p>Value, associated with the <code data-dev-comment-type="paramref" class="paramref">key</code>, or value returned by <code data-dev-comment-type="paramref" class="paramref">defaultValueFactory</code>
if <code data-dev-comment-type="paramref" class="paramref">key</code> does not exists in <code data-dev-comment-type="paramref" class="paramref">dictionary</code></p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TKey</span></td>
        <td><p>The type of the key.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TValue</span></td>
        <td><p>The type of the value.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TResult</span></td>
        <td><p>Result type.</p>
</td>
      </tr>
    </tbody>
  </table>
</article>
          </div>
          
          <div class="hidden-sm col-md-2" role="complementary">
            <div class="sideaffix">
              <div class="contribution">
                <ul class="nav">
                  <li>
                    <a href="https://github.com/rsdn/CodeJam/new/master/apiSpec/new?filename=CodeJam_Collections_DictionaryExtensions.md&amp;value=---%0Auid%3A%20CodeJam.Collections.DictionaryExtensions%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
                  </li>
                  <li>
                    <a href="https://github.com/rsdn/CodeJam/blob/master/Main/src/Collections/Dictionary/DictionaryExtensions.cs/#L12" class="contribution-link">View Source</a>
                  </li>
                </ul>
              </div>
              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
              <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
              </nav>
            </div>
          </div>
        </div>
      </div>
      
      <footer>
        <div class="grad-bottom"></div>
        <div class="footer">
          <div class="container">
            <span class="pull-right">
              <a href="#top">Back to top</a>
            </span>
            Copyright � 2015-2017
            
          </div>
        </div>
      </footer>
    </div>
    
    <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
    <script type="text/javascript" src="../../styles/docfx.js"></script>
    <script type="text/javascript" src="../../styles/main.js"></script>
  </body>
</html>
